<div class="modal-header"><h4 class="modal-title" id="myModalLabel">Details</h4></div><div class="modal-body"><div class="panel panel-default"><div class="panel-body">{{selected | json}}</div></div></div><div class="modal-footer"><button class="btn btn-success" ng-click="$ctrl.ok()">Save</button> <button class="btn btn-default" ng-click="$ctrl.cancel()">Cancel</button></div>